package exam.test18;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Endstart
 * Date: 2020-12-18
 * Time: 22:09
 */
public class Foo {
    private int k = 3;

    public Foo() {
        int i, j = 0, k = 0;
        for (i = 0; i < 5; i++) {
            j += i;
            k += j;
        }

    }

    public void print() {
        System.out.println(k);
    }

    public static void main(String[] args) {
        new Foo().print();
    }


}
